



# app: Database.o Employee.o  EmployeeTestcpp.o
# 	g++ Database.o Employee.o  EmployeeTestcpp.o -o app
 
# Database.o:Database.cpp
# 	g++ -c  Database.cpp -o Database.o
 
# Employee.o:Employee.cpp
# 	g++ -c  Employee.cpp -o Employee.o
 
# EmployeeTestcpp.o:EmployeeTestcpp.cpp
# 	g++ -c  EmployeeTestcpp.cpp -o EmployeeTestcpp.o








CC = g++
CFLAGS = -Wall -g

src=Database.o Employee.o EmployeeTestcpp.o
target=EmployeeTestcpp
 $(target):$(src)
	$(CC) $^ -o $@

Database.o:Database.cpp
	$(CC) -c $^ -o $@

Employee.o:Employee.cpp
	$(CC) -c $^ -o $@

EmployeeTestcpp.o:EmployeeTestcpp.cpp
	$(CC) -c $^ -o $@

.PHONY:clean
clean:
	rm *.o
